<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <a href="https://www.bilibili.com/">这是一个去到哔哩哔哩的链接</a>
    <!--链接伪类：一些和超链接相关的伪类-->
    <style>
        a{
            text-decoration: none;
        }
        a:link{
            color: black;
        }
        a:visited{
            color: grey;
        }
        /*属于键盘关联*/
        a:focus{
            color: red;
        }
        a:hover{
            color: red;
            background-color: aquamarine;
        }
        a:active{
            color: aquamarine;
            background-color:red;
        }
        /*顺序问题：LOVE HATE*/
    </style>
</body>
</html>